import Vue from 'vue'
import Router from 'vue-router'
import deptment from '@/components/sys/deptment.vue'
import user from '@/components/sys/uesr.vue'
import deptclassify from '@/components/sys/deptclassify.vue'
import depttype from '@/components/sys/depttype.vue'
import workrule from '@/components/sys/workrule.vue'
import workrule1 from '@/components/sys/workrule1.vue'


Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/sys/deptment',
      name: 'deptment',
      component: deptment
    },
    {
      path:'/sys/user',
      name:'user',
      component: user
    },
    {
      path:'/sys/deptclassify',
      name:'deptclassify',
      component:deptclassify
    },
    {
      path:'/sys/depttype',
      name:'depttype',
      component:depttype
    },
    {
      path:'/sys/workrule',
      name:'workrule',
      component:workrule
    },
    {
      path:'/sys/workrule1',
      name:'workrule1',
      component:workrule1
    }
  ]
})
